package main

import "fmt"

// Day 枚举
type Day int8

const (
	MONDAY Day = iota
	TUESDAY
	WEDNESDAY
	THURSDAY
	FRIDAY
	SATURDAY
	SUNDAY
)

func (d Day) String() string {
	return []string{"星期一", "星期二", "星期三", "星期四", "星期五", "星期六", "星期日"}[d]
}

func main() {
	fmt.Println(MONDAY)
}
